package com.qianli.cashmama.trade.common.enums;

/**
 * @program: market-loan-trade
 * @description
 * @author: frank
 * @create: 2020-12-29 10:28
 **/
public enum ServiceStatusEnum {

    INIT(0, "INIT"),SUCCESS(1, "SUCCESS"),FAIL(2, "FAIL");

    ServiceStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    private Integer code;
    private String name;

    public Integer getCode() {
        return code;
    }

    public ServiceStatusEnum setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public ServiceStatusEnum setName(String name) {
        this.name = name;
        return this;
    }
}
